import request from '@/utils/request'

// 查询综合成绩列表
export function listZonghechengji(query) {
  return request({
    url: '/school/zonghechengji/list',
    method: 'get',
    params: query
  })
}

// 查询综合成绩详细
export function getZonghechengji(id) {
  return request({
    url: '/school/zonghechengji/' + id,
    method: 'get'
  })
}

// 新增综合成绩
export function addZonghechengji(data) {
  return request({
    url: '/school/zonghechengji',
    method: 'post',
    data: data
  })
}

// 修改综合成绩
export function updateZonghechengji(data) {
  return request({
    url: '/school/zonghechengji',
    method: 'put',
    data: data
  })
}

// 删除综合成绩
export function delZonghechengji(id) {
  return request({
    url: '/school/zonghechengji/' + id,
    method: 'delete'
  })
}
